package yonghu;

import chaozuo.CZJK;
import shu.Booklist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 18128
 * Date: 2023-09-24
 * Time: 12:24
 */
//被继承的父类
    //有管理员和借书人的共同特点
abstract public class user {
    private String name;//名字
    protected CZJK[] czjk;//定义数组
    public user(String name)
    {
        this.name=name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public abstract int xxx();
    public void docz(int i, Booklist booklist)
    {
        czjk[i].work(booklist);
    }
}
